package com.woniu.postbar.entity.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class PostAdminDTO {

    @ApiModelProperty("用户类型")
    private Byte userType;

    @ApiModelProperty("用户id")
    private Integer userId;

    @ApiModelProperty("物业发布的公告标题")
    private String title;

    @ApiModelProperty("物业发布的公告")
    private String notice;

    @ApiModelProperty("评论id")
    private Integer commentId;

    @ApiModelProperty("点赞id")
    private Integer likeId;

    @ApiModelProperty("发布时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
}
